/*
 * Filename TestUniRecordClient.java 2022年04月08日
 * Copyright © Ehome Co.Ltd. All Rgiths Reserved.
 * @author wuyingchao
 */
package com.ehome.poct.core.api.feign;

import com.ehome.poct.core.api.qry.UniRecordQry;
import com.ehome.poct.core.api.vo.check.TestUniRecordVO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.cloud.openfeign.SpringQueryMap;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @author wyc
 * @since 2022/04/08 11:41
 **/
@FeignClient(value = "${service.poct-core:}${service.suffix.poct-core:}", path = "/online/record", contextId = "TestUniRecordClient")
public interface TestUniRecordClient {
    @GetMapping({"/{id}"})
    TestUniRecordVO getById(@PathVariable Long id);

    @GetMapping({"/one"})
    TestUniRecordVO getOne(@SpringQueryMap UniRecordQry qry);
}